package com.ly.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ly.entity.Member;
import com.ly.pojo.dto.MemberAddDTO;
import com.ly.pojo.dto.MemberDTO;
import com.ly.pojo.vo.MemberBelongVO;
import com.ly.utils.Result;

import java.util.List;
import java.util.Map;

/**
 * @author : 黑渊白花
 * @ClassName MemberService
 * @date : 2025/2/8 22:14
 * @Description
 */

public interface MemberService extends IService<Member> {
    IPage<MemberBelongVO> getAllMemberPage(MemberDTO memberDTO);
    IPage<MemberBelongVO> getUserMemberPage(MemberDTO memberDTO);
    Boolean delete(Member member);
    Boolean addMember(MemberAddDTO memberAddDTO);
    Boolean isJoinThisTeam(MemberAddDTO memberAddDTO);
    List<MemberBelongVO> getTeamMember(Integer id);
    List<Map<String, Object>> getMemCollege( Integer teamId);
    Result exitTeam(Member member);




}
